package com.dc.datacollect.service;

import com.dc.datacollect.dto.input.RenameGroupsInput;
import com.dc.datacollect.entity.Groups;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author zhuangjie
* @description 针对表【groups(收集集合)】的数据库操作Service
* @createDate 2023-06-19 14:50:58
*/
public interface GroupsService extends IService<Groups> {

    boolean createGroups(String groupsName) throws Exception;

    List<Groups> getGroupsTreeByCollectorId(Long collectorId);

    boolean removeGroupsById(Long groupsId);

    Boolean rename(RenameGroupsInput renameGroupsInput) throws Exception;
}
